package com.ruoyi.myshop.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 店铺信息对象 shop_store
 * 
 * @author HuaQP
 * @date 2025-11-10
 */
public class Store extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 店铺唯一ID */
    private Long storeId;

    /** 关联商家ID */
    @Excel(name = "关联商家ID")
    private Long merchantId;

    /** 店铺名称 */
    @Excel(name = "店铺名称")
    private String storeName;

    /** 店铺Logo */
    @Excel(name = "店铺Logo")
    private String storeLogo;

    /** 店铺电话 */
    @Excel(name = "店铺电话")
    private String storePhone;

    /** 营业时间（如"09:00-22:00"） */
    @Excel(name = "营业时间", readConverterExp = "如='09:00-22:00'")
    private String openingTime;

    /** 起送价（元） */
    @Excel(name = "起送价", readConverterExp = "元=")
    private BigDecimal minOrderPrice;

    /** 基础配送费（元） */
    @Excel(name = "基础配送费", readConverterExp = "元=")
    private BigDecimal deliveryFee;

    /** 店铺状态（0-休息，1-营业） */
    @Excel(name = "店铺状态", readConverterExp = "0=-休息，1-营业")
    private Integer storeStatus;

    public void setStoreId(Long storeId) 
    {
        this.storeId = storeId;
    }

    public Long getStoreId() 
    {
        return storeId;
    }

    public void setMerchantId(Long merchantId) 
    {
        this.merchantId = merchantId;
    }

    public Long getMerchantId() 
    {
        return merchantId;
    }

    public void setStoreName(String storeName) 
    {
        this.storeName = storeName;
    }

    public String getStoreName() 
    {
        return storeName;
    }

    public void setStoreLogo(String storeLogo) 
    {
        this.storeLogo = storeLogo;
    }

    public String getStoreLogo() 
    {
        return storeLogo;
    }

    public void setStorePhone(String storePhone) 
    {
        this.storePhone = storePhone;
    }

    public String getStorePhone() 
    {
        return storePhone;
    }

    public void setOpeningTime(String openingTime) 
    {
        this.openingTime = openingTime;
    }

    public String getOpeningTime() 
    {
        return openingTime;
    }

    public void setMinOrderPrice(BigDecimal minOrderPrice) 
    {
        this.minOrderPrice = minOrderPrice;
    }

    public BigDecimal getMinOrderPrice() 
    {
        return minOrderPrice;
    }

    public void setDeliveryFee(BigDecimal deliveryFee) 
    {
        this.deliveryFee = deliveryFee;
    }

    public BigDecimal getDeliveryFee() 
    {
        return deliveryFee;
    }

    public void setStoreStatus(Integer storeStatus) 
    {
        this.storeStatus = storeStatus;
    }

    public Integer getStoreStatus() 
    {
        return storeStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("storeId", getStoreId())
            .append("merchantId", getMerchantId())
            .append("storeName", getStoreName())
            .append("storeLogo", getStoreLogo())
            .append("storePhone", getStorePhone())
            .append("openingTime", getOpeningTime())
            .append("minOrderPrice", getMinOrderPrice())
            .append("deliveryFee", getDeliveryFee())
            .append("storeStatus", getStoreStatus())
            .toString();
    }
}
